package org.chen.spring.aop;

import java.lang.reflect.Method;

/**
 * @author Chen
 * @since 2023/6/9 9:33
 */
public class JoinPoint {

    private final Method method;

    private final Object[] args;

    public JoinPoint(Method method, Object[] args) {
        this.method = method;
        this.args = args;
    }


    public Method getMethod() {
        return method;
    }

    public Object[] getArgs() {
        return args;
    }
}
